package com.xuecheng.test.demo.dailimoshi;


/**
    静态代理类
**/
public class ProxySubject implements Subject {

    private Subject subject;

    @Override
    public String result(String message) {
        return this.subject.result(message);
    }


    public ProxySubject(Subject subject) {
        this.subject = subject;
    }
}
